package cn.xzq.crm.entity;

import java.util.HashSet;
import java.util.Set;

@SuppressWarnings("all")
public class Customer {
	
	private String custId;//客户编号(主键)
	private String custName; //客户名称(公司名称)
	private String custSource; //客户信息来源
	private String custIndustry; //客户所属行业
	private String custLevel; //客户级别
	private String custAddress; //客户联系地址
	private String custPhone; //客户联系电话
	
	//表示所有联系人
	private Set<LinkMan> setLinkMan = new HashSet<LinkMan>();
	
	//客户拜访关系
	private Set<Visit> setCustomerVisit = new HashSet<Visit>();
	
	public Customer() {
		super();
	}
	public Customer(String custId, String custName, String custSource, String custIndustry, String custLevel,
			String custAddress, String custPhone) {
		super();
		this.custId = custId;
		this.custName = custName;
		this.custSource = custSource;
		this.custIndustry = custIndustry;
		this.custLevel = custLevel;
		this.custAddress = custAddress;
		this.custPhone = custPhone;
	}
	public String getCustId() {
		return custId;
	}
	public void setCustId(String custId) {
		this.custId = custId;
	}
	public String getCustName() {
		return custName;
	}
	public void setCustName(String custName) {
		this.custName = custName;
	}
	public String getCustSource() {
		return custSource;
	}
	public void setCustSource(String custSource) {
		this.custSource = custSource;
	}
	public String getCustIndustry() {
		return custIndustry;
	}
	public void setCustIndustry(String custIndustry) {
		this.custIndustry = custIndustry;
	}
	public String getCustLevel() {
		return custLevel;
	}
	public void setCustLevel(String custLevel) {
		this.custLevel = custLevel;
	}
	public String getCustAddress() {
		return custAddress;
	}
	public void setCustAddress(String custAddress) {
		this.custAddress = custAddress;
	}
	public String getCustPhone() {
		return custPhone;
	}
	public void setCustPhone(String custPhone) {
		this.custPhone = custPhone;
	}
	public Set<LinkMan> getSetLinkMan() {
		return setLinkMan;
	}
	public void setSetLinkMan(Set<LinkMan> setLinkMan) {
		this.setLinkMan = setLinkMan;
	}
	public Set<Visit> getSetCustomerVisit() {
		return setCustomerVisit;
	}
	public void setSetCustomerVisit(Set<Visit> setCustomerVisit) {
		this.setCustomerVisit = setCustomerVisit;
	}
	
	
	@Override
	public String toString() {
		return "Customer [custId=" + custId + ", custName=" + custName + ", custSource=" + custSource
				+ ", custIndustry=" + custIndustry + ", custLevel=" + custLevel + ", custAddress=" + custAddress
				+ ", custPhone=" + custPhone + "]";
	}
	
	
	
}
